on mouseUp --puts the name of the clicked button in the Message box.
put the short name of the target
end mouseUp
on closeCard
hide message box
set hilite of button Thanks to false
end closeCard
-- part 1 (button)
-- low flags: 00
-- high flags: 8002
-- rect: left=23 top=189 right=210 bottom=103
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Click me!
----- HyperTalk script -----
on mouseUp
pass mouseUp
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=27 top=223 right=249 bottom=99
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Me too!
----- HyperTalk script -----
on mouseUp
pass mouseUp
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 8006
-- rect: left=27 top=256 right=282 bottom=99
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Thanks
----- HyperTalk script -----
on mouseUp
set hilite of the target to not the hilite of the target
pass mouseUp
end mouseUp
-- part contents for background part 2
----- text -----
Target
-- part contents for background part 1
----- text -----
the target
The object this message (the one that invoked the current script) was originally sent to. Useful for allowing a message at a high level (the Home script, for example) to refer to the low-level object that originally received the message.